package com.zyy.joseata;

import com.zyy.joseata.config.SeataConfigProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author zhangyy
 */
@Configuration
@EnableConfigurationProperties(SeataConfigProperties.class)
@EnableAspectJAutoProxy
@ComponentScan("com.zyy.joseata")
public class JoSeataAutoApplication {

    private final SeataConfigProperties configProperties;

    public JoSeataAutoApplication(SeataConfigProperties configProperties){
        this.configProperties = configProperties;
    }

}
